<?php
    include_once '../../../../controlador/php/conexion/Conexion.php';
    $con = new Conexion();
    
    $serv = "select * from serviciosL";
    
    $res = $con->query($serv);
    
    while ($resp = mssql_fetch_array($res)){
        $servicios[] = $resp; 
    }
    
    $con->cerrarConexion();
    print_r(json_encode($servicios));
?>
